// *Author：jxx
// *Contact：283591387@qq.com
// *代码由框架生成,任何更改都可能导致被代码生成器覆盖
export default function(){
    const table = {
        key: 'Id',
        footer: "Foots",
        cnName: '产线员工',
        name: 'ProductionEmployee',
        url: "/ProductionEmployee/",
        sortName: "Id"
    };
    const tableName = table.name;
    const tableCNName = table.cnName;
    const newTabEdit = false;
    const key = table.key;
    const editFormFields = {"Name":"","ClassGroup":"","Phone":"","im":"","Gender":"","CreateDateTiem":""};
    const editFormOptions = [[{"title":"姓名","required":true,"field":"Name","type":"text"}],
                              [{"title":"班组","required":true,"field":"ClassGroup","type":"text"}],
                              [{"title":"联系方式","required":true,"field":"Phone","type":"text"}],
                              [{"title":"IM","required":true,"field":"im","type":"text"}],
                              [{"dataKey":"性别1","data":[],"title":"性别","required":true,"field":"Gender","type":"radio"}],
                              [{"title":"创建时间","required":true,"field":"CreateDateTiem","type":"datetime"}]];
    const searchFormFields = {"Name":""};
    const searchFormOptions = [[{"title":"姓名","field":"Name","type":"like"}]];
    const columns = [{field:'Id',title:'主键',type:'int',width:110,hidden:true,readonly:true,require:true,align:'left'},
                       {field:'Name',title:'姓名',type:'string',width:110,require:true,align:'left'},
                       {field:'ClassGroup',title:'班组',type:'string',width:110,require:true,align:'left'},
                       {field:'Phone',title:'联系方式',type:'string',width:110,require:true,align:'left'},
                       {field:'im',title:'IM',type:'string',width:110,require:true,align:'left'},
                       {field:'Gender',title:'性别',type:'string',bind:{ key:'性别1',data:[]},width:110,require:true,align:'left'},
                       {field:'CreateDateTiem',title:'创建时间',type:'datetime',width:150,require:true,align:'left'}];
    const detail ={columns:[]};
    const details = [];

    return {
        table,
        key,
        tableName,
        tableCNName,
        newTabEdit,
        editFormFields,
        editFormOptions,
        searchFormFields,
        searchFormOptions,
        columns,
        detail,
        details
    };
}